﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ElingOA6_DSJCJ.BLL
{
    /// <summary>
    /// 信息投票 逻辑类
    /// </summary>
    public class DocVote
    {
        private DAL.DocVote docVoteDAL = new DAL.DocVote();
        public DocVote()
        {
        }
        /// <summary>
        /// 增加一条数据
        /// <creator>wangl</creator>
        /// <date>2013-09-11</date>
        /// </summary>
        public void Add(Model.DocVote model)
        {
            docVoteDAL.Add(model);
        }
        /// <summary>
        /// 是否存在该记录
        /// <creator>wangl</creator>
        /// <date>2013-09-11</date>
        /// </summary>
        /// <param name="entityNo">公司编号</param>
        /// <param name="emplNo">员工编号</param>
        /// <returns>是否存在</returns>
        public bool Exists(string entityNo, string emplNo)
        {
            return docVoteDAL.Exists(entityNo, emplNo);
        }
    }
}
